import Mock from 'mockjs'
import url from './mockServeData/manage'

//定义mock请求拦截 用户列表的数据
// Mock.mock(/api\/manage\/add/, 'post', url.createUrl)
// Mock.mock(/api\/manage\/edit/, 'post', url.updateUrl)
// Mock.mock(/api\/manage\/del/, 'post', url.deleteUrl)
// Mock.mock(/api\/manage\/getUrl/,'get', url.getUrlList)

Mock.mock(/stream/, 'post', url.createUrl)
Mock.mock(/stream/, 'put', url.updateUrl)
Mock.mock(/stream/, 'delete', url.deleteUrl)
Mock.mock(/stream/,'get', url.getUrlList)